package de.gwtprime.client.activities;

import com.google.gwt.place.shared.Place;

import de.gwtprime.client.ClientFactory;
import de.gwtprime.client.views.FooterView;

public class FooterActivity implements FooterView.Presenter {

	ClientFactory clientFactory;
	
	public FooterActivity(ClientFactory clientFactory) {
		this.clientFactory = clientFactory;
		FooterView footerView = clientFactory.getFooterView();
		footerView.setPresenter(this);
	}
	
	@Override
	public void goTo(Place place) {
		clientFactory.getPlaceController().goTo(place);
		
	}

}
